<script setup>
import { computed, defineEmits, ref } from 'vue'
import SettingNavi from '@/components/attendanceComponents/SettingPage/SettingNavi.vue'

const emits = defineEmits(['goback'])
const goback = () => {
  emits('goback')
}

const content = ref('')
const buttonDisabled = computed(() => {
  return content.value.length === 0
})

const tapDelete = () => {
  alert('tapDelete')
}
</script>

<template>
  <SettingNavi
    :iconFont="'icon-shuaxin'"
    title="选择人员或部门"
    @pageIndexChange="goback"
  />
  //todo
  <button class="buttonClass" @click="clickSave">保存</button>
</template>

<style lang="scss" scoped>
.buttonClass {
  display: flex;
  width: 686rpx;
  height: 72rpx;
  justify-content: center;
  align-items: center;
  background: #165dff;
  border-radius: 16rpx;
  color: #fff;
  font-size: 32rpx;
  margin-top: 40rpx;
  overflow: hidden;
  position: fixed;
  bottom: 32rpx;
  left: 50%;
  transform: translateX(-50%);
}
</style>
